# Django settings for freedel project.
# Time-stamp: "2007-04-17 17:10:39 ghoseb"

DEBUG = True
TEMPLATE_DEBUG = DEBUG

ADMINS = (
    ('Baishampayan Ghose', 'b.ghose@ubuntu.com'),
)

MANAGERS = ADMINS

DATABASE_ENGINE = 'postgresql'    # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'conspire'             # Or path to database file if using sqlite3.
DATABASE_USER = 'mary'             # Not used with sqlite3.
DATABASE_PASSWORD = 'mary'         # Not used with sqlite3.
DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.

TIME_ZONE = 'Asia/Calcutta'

LANGUAGE_CODE = 'en-us'

SITE_ID = 1

USE_I18N = False

MEDIA_ROOT = '/tmp/' # something so that it works for all devels ATM

MEDIA_URL = ''

ADMIN_MEDIA_PREFIX = '/media/'

SECRET_KEY = '#qh9bvq&p+eb)5cd+8d(%me+w5w4&7mn#(mgfuuyvesdlk89ot'

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
#     'django.template.loaders.eggs.load_template_source',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware',
)

ROOT_URLCONF = 'freedel.urls'

TEMPLATE_DIRS = ('')

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'freedel.conspire',
    'freedel.contentstore', # we need this for the contentstore app
)

AUTH_PROFILE_MODULE = 'conspire.UserProfile'

ACCOUNT_ACTIVATION_DAYS = 2
URL = 'http://freedel.in'
EMAIL = 'no-reply@freedel.in'
